package com.liuyucheng.designpattern.代理模式.statik;

public class Person {
    public static void main(String[] args) {
//        Host host = new Host();
//        host.rent();


        //使用中介代理
        Proxy proxy = new Proxy(new Host());
        proxy.rent();
    }
}
